<?php
require_once("Includes.php");
require_once("Resource.class.php");

class Room extends Resource
    {
     protected static $table_name="room";
	   protected static $db_fields = array('ID','resource_ID', 'capacity' , 'position' , 'room_type');
     protected $ID;
     protected $resource_ID;
	   protected $capacity;
	   protected $position;
     protected $room_type;


   public function set_id($ID)
   {
     $this->ID = $ID;
   }

   public function get_id()
   {
     return $this->ID;
   }

  public function set_resource_id($ID)
  {
    $this->resource_ID = $ID;
  }

  public function get_resource_id()
  {
    return $this->resource_ID;
  }
	 
  public function set_capacity($capacity)
  {
    $this->capacity = $capacity;
  }

  public function get_capacity()
  {
    return $this->capacity;
  }
	 
  public function set_position($position)
  {
    $this->position = $position;
  }

  public function get_position()
  {
    return $this->position;
  }

    public function set_room_type($type)
  {
    $this->room_type = $type;
  }

  public function get_room_type()
  {
    return $this->room_type;
  }
	    
}
?>